package com.zjun.demo.experimentaldemo.gallery_monitoring

data class Event(
    val id: String,
    val deviceUid: String,
    val event: Int,
    val cloud: String,
    val card: String,
    val icon: String,
    val startTime: Long,
    val endTime: Long
)

data class EventGroup(
    val hour: String,  // 如 "19:00"
    val timeInMillis: Long,  // 用于排序
    var isExpanded: Boolean = true,
    val events: MutableList<Event>
)

data class DisplayItem(
    val type: Int,  // 0: 分组标题, 1: 事件项
    val group: EventGroup? = null,
    val event: Event? = null
)